package com.healer.springcloud.mapper;

import com.healer.springcloud.pojo.Department;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface DepartmentMapper {
    boolean addDepartment(String name);
    Department queryDepartmentById(long id);
    List<Department> queryDepartment();
}
